package com.example.websocket.dao;

import com.example.websocket.entity.GroupMessage;

import java.util.List;

public interface GroupMessageMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GroupMessage record);

    int insertSelective(GroupMessage record);

    GroupMessage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GroupMessage record);

    int updateByPrimaryKey(GroupMessage record);

    List<GroupMessage> getRecent(int groupid);
}